<?php
error_reporting(0);
  $leibie=$_POST[leibie];
   $group =$_POST['typegroup'];
  include("../conn/conn.php");
  mysql_query("update tb_type set typename='$leibie',typegroup='$group' where id='".$_POST[lb]."'",$conn);
  echo "<script>alert('类别修改成功!');window.location.href='../show/showleibie.php';</script>";
?>